package com.example.com.skills_utf8;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by matengfei on 15/8/1.
 */
public class _62jpushReceiver extends BroadcastReceiver{

    private String TAG = _62jpushReceiver.class.getSimpleName();

    @Override
    public void onReceive(Context context, Intent intent) {
        Bundle bundle = intent.getExtras();
        String title = bundle.getString(JPushInterface.EXTRA_TITLE);
        String message = bundle.getString(JPushInterface.EXTRA_MESSAGE);
        Log.e(TAG, intent.toString());
        Log.e(TAG, "title: "+title);
        Log.e(TAG, "message: "+message);



    }
}
